Xceed Toolkit Plus for WPF v4.6 Documentation
ToPredicate<T>() Method


Xceed.Wpf.ListBox Assembly > Xceed.Wpf.Data Namespace > PredicateBuilder Class : ToPredicate<T>() Method
Creates a predicate from the filter expression that was passed at construction
Syntax
'Declaration
 
Public Function ToPredicate(Of T)() As Func(Of T,Boolean)
'Usage
 
Dim instance As PredicateBuilder

Dim value As Func(Of T,Boolean)

 

value = instance.ToPredicate(Of T)()
public Func<T,bool> ToPredicate<T>()

Type Parameters

T
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PredicateBuilder Class
PredicateBuilder Members